﻿using System.Threading.Tasks;

namespace Yyd.Security.ClientIp
{
    /// <summary>
    /// 客户端ip 检测
    /// </summary>
    public interface IClientIpCheck
    {
        /// <summary>
        /// 是否在白名单列表中
        /// </summary>
        /// <param name="clientIp"></param>
        /// <returns></returns>
        Task<bool> HasWhitelist(string clientIp);
    }
}
